\doxysection{power\+\_\+control.\+h}
\hypertarget{power__control_8h_source}{}\label{power__control_8h_source}\index{C:/Users/ASUS/Desktop/dm-\/ctrlH7-\/balance-\/9025test/modules/motor/power\_control.h@{C:/Users/ASUS/Desktop/dm-\/ctrlH7-\/balance-\/9025test/modules/motor/power\_control.h}}

\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ }
\DoxyCodeLine{00014\ }
\DoxyCodeLine{00015\ \textcolor{preprocessor}{\#ifndef\ POWER\_CONTROL\_H}}
\DoxyCodeLine{00016\ \textcolor{preprocessor}{\#define\ POWER\_CONTROL\_H}}
\DoxyCodeLine{00017\ }
\DoxyCodeLine{00018\ \textcolor{preprocessor}{\#include\ "{}bsp\_can.h"{}}}
\DoxyCodeLine{00019\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{controller_8h}{controller.h}}"{}}}
\DoxyCodeLine{00020\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{motor__def_8h}{motor\_def.h}}"{}}}
\DoxyCodeLine{00021\ \textcolor{preprocessor}{\#include\ "{}stdint.h"{}}}
\DoxyCodeLine{00022\ \textcolor{preprocessor}{\#include\ "{}daemon.h"{}}}
\DoxyCodeLine{00023\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{dji__motor_8h}{dji\_motor.h}}"{}}}
\DoxyCodeLine{00024\ }
\DoxyCodeLine{00025\ }
\DoxyCodeLine{00026\ \mbox{\hyperlink{struct_d_j_i_motor_instance}{DJIMotorInstance}}\ *PowerControlInit(\mbox{\hyperlink{struct_motor___init___config__s}{Motor\_Init\_Config\_s}}\ *config);}
\DoxyCodeLine{00027\ }
\DoxyCodeLine{00034\ \textcolor{keywordtype}{void}\ PowerControl(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00035\ }
\DoxyCodeLine{00041\ \textcolor{keywordtype}{void}\ SetPowerLimit(\textcolor{keywordtype}{float}\ power\_limit);}
\DoxyCodeLine{00042\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ !DJI\_MOTOR\_H}}

\end{DoxyCode}
